<div class="wrap">
<h2><?php echo __( 'Travel Plugin Options', 'widgetapps_travel_plugin' ) ?></h2>
</div>

<?php 
if (isset($_POST['wa_option1'])){
	update_option('wa_option1', $_POST['wa_option1']);
}?>

<form method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
<?php settings_fields( 'wa-travel-options' ); ?>

<table class="form-table">

<tr valign="top">
<th scope="row">Option 1</th>
<td><input type="text" name="wa_option1" value="<?php echo get_option('wa_option1'); ?>" /></td>
</tr>
 
<tr valign="top">
<th scope="row">Option 2</th>
<td><input type="text" name="wa_option2" value="<?php echo get_option('wa_option2'); ?>" /></td>
</tr>

<tr valign="top">
<th scope="row">Option 3</th>
<td><input type="text" name="wa_option3" value="<?php echo get_option('wa_option3'); ?>" /></td>
</tr>

</table>

<p class="submit">
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
</p>

</form>